package cn.edu.scau.dormitory_management_system.module.user.service;

import cn.edu.scau.dormitory_management_system.entity.UserEntity;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;

/**
 * 
 *
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
public interface UserService extends IService<UserEntity> {

    UserEntity queryByEmail(String email);

    boolean update(UserEntity userEntity);

    boolean insertUser(UserEntity user);

    UserEntity queryUserByRandomCode(String code);

    UserEntity queryByUserName(String email);
}

